package com.cj.ai.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author cc
 * @since 2024-08-20
 */
@Getter
@Setter
@TableName("ai_interview_records")
public class Records implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 会话id，， 一次面试是一个会话
     */
    private String sessionId;

    /**
     * 角色，assistant：ai回答的，user：我问的消息
     */
    private String role;

    /**
     * 消息内容
     */
    private String content;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    /**
     * 用户唯一id
     */
    private String openid;

    /**
     * 关联category_item
     */
    private String category;

    /**
     * 面试科目，，关联category
     */
    private String subject;

    private Integer delFlag;
}
